package com.vitalfit.service;

import com.vitalfit.model.dto.FoodCustomizationDTO;
import com.vitalfit.model.entity.food.FoodCustomization;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface FoodCustomizationService {
    List<FoodCustomization> findCustomizationsByFoodItemId(Integer foodItemId);
    FoodCustomization createCustomization(FoodCustomizationDTO foodCustomizationDTO);
    FoodCustomization updateCustomization(FoodCustomizationDTO foodCustomizationDTO);
    void deleteCustomization(Integer id);

    @Transactional
    FoodCustomization getCustomizationById(Integer id);
}
